package cn.edu.scau.cmi.mingjunhui.client;

import java.util.Objects;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.scene.Parent;
import javafx.fxml.FXMLLoader;
import javafx.application.Application;



public class HibernateClient extends Application {

	@Override
	public void start(Stage primaryStage) throws Exception {
		FXMLLoader fxmlLoader = new FXMLLoader();
        Parent parent = fxmlLoader.load(Objects.requireNonNull(HibernateClient.class.getClassLoader().getResourceAsStream(
                        "cn/edu/scau/cmi/mingjunhui/hibernate/jfx/Index.fxml")));
        Scene scene = new Scene(parent);
        primaryStage.setScene(scene);
        primaryStage.show();
	}
	public static void main(String[] args) {
        launch(args);
    }
}
